obj-m :=demo.o
#module-objs := file1.o file.o
KDIR :=/lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
all:      
	$(MAKE)  -C  $(KDIR)  M=$(PWD)  modules  
install:
	$(MAKE) -C $(KDIR) M=$(PWD) modules_install

clean:  
	rm -rf *.ko  
	@rm -rf *.mod.*  
	@rm -rf .*.cmd  
	@rm -rf *.o  
	@rm -rf Module.*
	@rm -rf modules.order
